package com.mongodb.document.test;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@Document(collection = "product")
public class Product {
    @Id
    private String id;
    private String name;
    private double netPrice;
    private int spaceUnits;
}
